<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:forEach items="${orders }" var="order">
<tr class="">
  <td class="">${order.index }</td>
  <td class="">${order.order_no }</td>
  <td class="">${order.order_date_display }</td>
  <td class="">${order.sum_amount }</td>
  <td class="">${order.name }</td>
  <td class="">${order.telphone }</td>
  <td class="">${order.pay_type_display }</td>
  <td class="">${order.buyback_type_display }</td>
  <td class="">已完结</td>
  <td class="">${order.order_date_display }</td>
  <td class="">${order.user_name }</td>
  <td class="">${order.store_name }</td>
  <td class=""><a href="javascript:;" target="_blank" onclick='detail("${order.id}","${order.customer_id }")'>查看</a></td>
</tr>
</c:forEach>